<?php
 $eh = 13;
 $emin = 30;

 $h = $eh - date('G');

 $min = $emin - date('i');
 if ($min<0) {
     $h--;
     $min = 60 + $min;
 }
 $str = $h.'h '.$min.'min';
 if (($h==0)&&($min<5)) { $str = "<span style=\"color:red;\">$str</span>";};

 echo $str;
?>
